// 命名空间
var zipai = {};
// 所有代码
zipai.subPath = 'modules/main/zipai/';
zipai.srcPath = zipai.subPath + 'src/';
zipai.src = [
    zipai.srcPath + 'SubCreateRoomWindow.js',
    zipai.srcPath + 'SubGameLayer.js',

    zipai.srcPath + 'managers/mCard.js',
    zipai.srcPath + 'managers/mAction.js',
    zipai.srcPath + 'managers/mEffect.js',
    zipai.srcPath + 'managers/ZiPaiManager.js',
    zipai.srcPath + 'managers/ZiPaiJavaManager.js',
    zipai.srcPath + 'managers/ReplayData.js',

    zipai.srcPath + 'rooms/ZiPaiRoom.js',
    zipai.srcPath + 'rooms/ZiPaiJavaRoom.js',
    zipai.srcPath + 'rooms/ZiPaiRoomErQiShi.js',
    zipai.srcPath + 'rooms/ZiPaiRoomHuaiHua.js',
    zipai.srcPath + 'rooms/ZiPaiRoomNX.js',
    zipai.srcPath + 'rooms/ZiPaiRoomYZCHZ.js',
    // zipai.srcPath + 'rooms/ZiPaiRoomYongZhou.js',

    zipai.srcPath + 'units/Card.js',
    zipai.srcPath + 'units/CardSelect.js',
    zipai.srcPath + 'units/OpenCards.js',
    zipai.srcPath + 'units/OutCards.js',
    zipai.srcPath + 'units/ChuCards.js',
    zipai.srcPath + 'units/ComboInfo.js',

    zipai.srcPath + 'windows/ChiBiLayer.js',
    zipai.srcPath + 'windows/TestZiPai.js',
    zipai.srcPath + 'windows/ZiPai_HuWindow.js',
    zipai.srcPath + 'windows/ZiPai_JieSuanWindow.js',
    zipai.srcPath + 'windows/ZiPai_JieSuanJavaWindow.js',
    zipai.srcPath + 'windows/ZiPai_JieSuanJavaWindow_qylds.js',
    zipai.srcPath + 'windows/ZiPai_ZongJieSuanWindow.js',
    zipai.srcPath + 'windows/ZiPai_ZongJieSuanJavaWindow.js',
    zipai.srcPath + 'windows/ZiPai_ZongJieSuanJavaWindow_qylds.js',
    zipai.srcPath + 'windows/Zipai_PlayerBackWindow.js',
    zipai.srcPath + 'windows/Zipai_PlayerBackJavaWindow.js',
    zipai.srcPath + 'windows/ZiPai_QiePaiWindow.js',
    zipai.srcPath + 'windows/ZiPai_QuickStartWindow.js',
    zipai.srcPath + 'windows/ZiPai_ChiBiWindow.js',

];

// 所有资源
zipai.oldResPath = zipai.subPath + 'res/';
zipai.resPath = zipai.subPath + 'res/';
zipai.dynamicRes = zipai.subPath + 'res/dynamicRes/';
zipai.soundPutonghua = zipai.resPath + 'sound_mp3/putonghua/';
zipai.soundQiYang = zipai.resPath + 'sound_mp3/qiyang/';
zipai.res = {
    CreateRoomWindow_json : zipai.resPath +'CreateRoomWindow.json',
    ZiPaiRoom_qylds_json: zipai.resPath + 'ZiPaiRoom_qylds.json',
    ZiPaiRoom_yzchz_json: zipai.resPath + 'ZiPaiRoom_yzchz.json',
    ZiPaiRoomErQiShi_json: zipai.resPath + 'ZiPaiRoomErQiShi.json',

    TestZiPai_json: zipai.resPath + 'windows/TestZiPai.json',
    ZiPai_ChiBiWindow_json: zipai.resPath + 'windows/ZiPai_ChiBiWindow.json',
    ZiPai_HuWindow_json: zipai.resPath + 'windows/ZiPai_HuWindow.json',
    ZiPai_JieSuanWindow_json: zipai.resPath + 'windows/ZiPai_JieSuanWindow.json',
    ZiPai_JieSuanWindow_qylds_json: zipai.resPath + 'windows/ZiPai_JieSuanWindow_qylds.json',
    ZiPai_JieSuan_font: zipai.resPath + 'windows/ZiPai_JieSuanWindow/jiesuan_font_img.plist',
    ZiPai_JieSuan_font_img: zipai.resPath + 'windows/ZiPai_JieSuanWindow/jiesuan_font_img.png',
    ZiPai_ZongJieSuanWindow_json: zipai.resPath + 'windows/ZiPai_ZongJieSuanWindow.json',
    ZiPai_ZongJieSuanWindow_qylds_json: zipai.resPath + 'windows/ZiPai_ZongJieSuanWindow_qylds.json',
    Zipai_PlayerBackWindow_json: zipai.resPath + 'windows/Zipai_PlayerBackWindow.json',
    ZiPai_QiePaiWindow_json: zipai.resPath + 'windows/ZiPai_QiePaiWindow.json',
    ZiPai_QuickStartWindow_json: zipai.resPath + 'windows/ZiPai_QuickStartWindow.json',

    //房间信息
    signal1: zipai.resPath + 'room/common/signal1_1.png',
    signal2: zipai.resPath + 'room/common/signal1_2.png',
    signal3: zipai.resPath + 'room/common/signal1_3.png',
    signal4: zipai.resPath + 'room/common/signal1_4.png',
    signal5: zipai.resPath + 'room/common/signal1_5.png',

    wifi_signal1: zipai.resPath + 'room/common/wifi0.png',
    wifi_signal2: zipai.resPath + 'room/common/wifi1.png',
    wifi_signal3: zipai.resPath + 'room/common/wifi2.png',
    wifi_signal4: zipai.resPath + 'room/common/wifi3.png',

    battery_1: zipai.resPath + 'room/common/battery1.png',
    battery_2: zipai.resPath + 'room/common/battery2.png',
    battery_3: zipai.resPath + 'room/common/battery3.png',
    battery_4: zipai.resPath + 'room/common/battery4.png',
    battery_5: zipai.resPath + 'room/common/battery5.png',

    toast_bg_png: zipai.resPath + 'room/common/toast_bg.png',

    logo_NXPHZ: zipai.resPath + 'room/RoomInfo/logo_QYLDS.png',
    logo_YZCHZ: zipai.resPath + 'room/RoomInfo/logo_YZCHZ.png',
    title_CHZ_2: zipai.resPath + 'room/RoomInfo/title_chz_2.png',
    title_CHZ_3: zipai.resPath + 'room/RoomInfo/title_chz_3.png',
    title_CHZ_4: zipai.resPath + 'room/RoomInfo/title_chz_4.png',
    title_LDS_2: zipai.resPath + 'room/RoomInfo/title_lds_2.png',
    title_LDS_3: zipai.resPath + 'room/RoomInfo/title_lds_3.png',
    title_LDS_4: zipai.resPath + 'room/RoomInfo/title_lds_4.png',

    jushu_fnt: zipai.resPath + 'room/PhzRoomLayer/jushu.fnt',
    /**
     * 牌相关
     */
    chupai_bj: zipai.resPath + 'room/CardBg/chupai_bj.png',
    mopai_bj: zipai.resPath + 'room/CardBg/mopai_bj.png',
    zipai_ting_fnt: zipai.resPath + 'room/TingTishi/num.fnt',
    zipai_ting_png: zipai.resPath + 'room/TingTishi/num.png',
    chi_bg1: zipai.resPath + 'room/CardBg/chi_bg1.png',
    chi_bg2: zipai.resPath + 'room/CardBg/chi_bg2.png',

    card_common_plist: zipai.resPath + 'room/Card/card_common.plist',
    card_common_png: zipai.resPath + 'room/Card/card_common.png',

    huxiBg: zipai.resPath + 'room/Card/huxiBg.png',
    huxi_fnt: zipai.resPath + 'room/Card/huxi.fnt',
    huxi_png: zipai.resPath + 'room/Card/huxi.png',

    //遮罩
    cardmask: zipai.resPath + 'room/Card/cardmask.png',
    /**
     * 听牌
     */
    tingmark_png: zipai.resPath + 'room/TingTishi/mark_jiao.png',
    humark_png: zipai.resPath + 'room/TingTishi/mark_hu.png',
    jianmark_png: zipai.resPath + 'room/TingTishi/mark_jian.png',
    huziTing_png: zipai.resPath + 'room/TingTishi/huzi_ting.png',
    huzi_ting_fnt: zipai.resPath + 'room/TingTishi/num.fnt',
    huzi_ting_: zipai.resPath + 'room/TingTishi/num.png',
    /**
     * 吃碰特效
     */
    sp_penghuzi_zi_atlas: zipai.resPath + 'skeletons/penghuzi_zi/zhuonei.atlas',
    sp_penghuzi_zi_json: zipai.resPath + 'skeletons/penghuzi_zi/zhuonei.json',
    sp_penghuzi_zi_png: zipai.resPath + 'skeletons/penghuzi_zi/zhuonei.png',
    sp_penghuzi_zi2_png2: zipai.resPath + 'skeletons/penghuzi_zi/zhuonei2.png',
    sp_anniu_atlas: zipai.resPath + 'skeletons/penghuzi_zi/anniu.atlas',
    sp_anniu_json: zipai.resPath + 'skeletons/penghuzi_zi/anniu.json',
    sp_anniu_png: zipai.resPath + 'skeletons/penghuzi_zi/anniu.png',
    sp_anniu_png2: zipai.resPath + 'skeletons/penghuzi_zi/anniu2.png',
    sp_kaiju_atlas: zipai.resPath + 'skeletons/penghuzi_zi/kaiju.atlas',
    sp_kaiju_json: zipai.resPath + 'skeletons/penghuzi_zi/kaiju.json',
    sp_kaiju_png: zipai.resPath + 'skeletons/penghuzi_zi/kaiju.png',
    sp_kaiju_png2: zipai.resPath + 'skeletons/penghuzi_zi/kaiju2.png',
    sp_chi : zipai.resPath + 'Option/Btn/Chi.json',
    sp_peng : zipai.resPath + 'Option/Btn/Peng.json',
    sp_guo : zipai.resPath + 'Option/Btn/Guo.json',
    sp_hu : zipai.resPath + 'Option/Btn/Hu.json',
    sp_wangdiao : zipai.resPath + 'Option/Btn/Wangdiao.json',
    sp_wangchang : zipai.resPath + 'Option/Btn/Wangchuang.json',
    sp_wangzha : zipai.resPath + 'Option/Btn/Wangzha.json',
    sp_genxing : zipai.resPath + 'GENXING.json',
    sp_fanxing : zipai.resPath + 'FANXING.json',
    /**
     * 普通话
     */
    paohuzi_vbi_1: zipai.soundPutonghua+'n_bi.mp3',
    paohuzi_vchi_1: zipai.soundPutonghua+'n_chi.mp3',
    paohuzi_vhu_1: zipai.soundPutonghua+'n_hu.mp3',
    paohuzi_vpao_1: zipai.soundPutonghua+'n_pao.mp3',
    paohuzi_vpeng_1: zipai.soundPutonghua+'n_peng.mp3',
    paohuzi_vti_1: zipai.soundPutonghua+'n_ti.mp3',
    paohuzi_vwei_1: zipai.soundPutonghua+'n_wei.mp3',
    paohuzi_vbi_2: zipai.soundPutonghua+'v_bi.mp3',
    paohuzi_vchi_2: zipai.soundPutonghua+'v_chi.mp3',
    paohuzi_vhu_2: zipai.soundPutonghua+'v_hu.mp3',
    paohuzi_vpao_2: zipai.soundPutonghua+'v_pao.mp3',
    paohuzi_vpeng_2: zipai.soundPutonghua+'v_peng.mp3',
    paohuzi_vti_2: zipai.soundPutonghua+'v_ti.mp3',
    paohuzi_vwei_2: zipai.soundPutonghua+'v_wei.mp3',

    /**
     * 祁阳
     */
    qiyang_vbi_1: zipai.soundQiYang + 'n_bi.mp3',
    qiyang_vchi_1: zipai.soundQiYang + 'n_chi.mp3',
    qiyang_vhu_1: zipai.soundQiYang + 'n_hu.mp3',
    qiyang_vpao_1: zipai.soundQiYang + 'n_pao.mp3',
    qiyang_vpeng_1: zipai.soundQiYang + 'n_peng.mp3',
    qiyang_vti_1: zipai.soundQiYang + 'n_ti.mp3',
    qiyang_vwei_1: zipai.soundQiYang + 'n_wei.mp3',
    qiyang_vchouwei_1: zipai.soundQiYang + 'n_chouwei.mp3',
    qiyang_vwangdiao_1: zipai.soundQiYang + 'n_vwangdiao.mp3',
    qiyang_vwangchuang_1: zipai.soundQiYang + 'n_vwangchuang.mp3',
    qiyang_vwangzha_1: zipai.soundQiYang + 'n_vwangzha.mp3',

    qiyang_vbi_2: zipai.soundQiYang + 'v_bi.mp3',
    qiyang_vchi_2: zipai.soundQiYang + 'v_chi.mp3',
    qiyang_vhu_2: zipai.soundQiYang + 'v_hu.mp3',
    qiyang_vpao_2: zipai.soundQiYang + 'v_pao.mp3',
    qiyang_vpeng_2: zipai.soundQiYang + 'v_peng.mp3',
    qiyang_vti_2: zipai.soundQiYang + 'v_ti.mp3',
    qiyang_vwei_2: zipai.soundQiYang + 'v_wei.mp3',
    qiyang_vchouwei_2: zipai.soundQiYang + 'v_chouwei.mp3',
    qiyang_vwangdiao_2: zipai.soundQiYang + 'v_vwangdiao.mp3',
    qiyang_vwangchuang_2: zipai.soundQiYang + 'v_vwangchuang.mp3',
    qiyang_vwangzha_2: zipai.soundQiYang + 'v_vwangzha.mp3',


    /**
     * 待定资源
     */
     PhzHead_json: zipai.oldResPath + 'PhzHead.json'
    , PhzHu_json: zipai.oldResPath + 'PhzHu.json'
    , PhzShou_json: zipai.oldResPath + 'PhzShou.json'

    // image
    , hand_plist: zipai.dynamicRes + 'hand.plist'
    , hand_png: zipai.dynamicRes + 'hand.png'
    , nextju_png: zipai.dynamicRes + 'nextju.png'
    , redquan_png: zipai.dynamicRes + 'redquan.png'
    , greenquan_png: zipai.dynamicRes + 'greenquan.png'
    , eff_spark_png: zipai.dynamicRes + 'eff_spark.png'



    , PhzLizi_json: zipai.dynamicRes + 'animation/MJ_lizi09.plist'
    , chiSay: zipai.dynamicRes + 'chiSay.png'
    , guosaoSay: zipai.dynamicRes + 'guosaoSay.png'
    , huSay: zipai.dynamicRes + 'huSay.png'
    , kaiduoSay: zipai.dynamicRes + 'kaiduoSay.png'
    , paoSay: zipai.dynamicRes + 'paoSay.png'
    , pengSay: zipai.dynamicRes + 'pengSay.png'
    , saoSay: zipai.dynamicRes + 'saoSay.png'
    , tiSay_yz: zipai.dynamicRes + 'tiSay_yz.png'
    , tiSay: zipai.dynamicRes + 'tiSay.png'


    // font
    //




    , getw: zipai.resPath + 'sound_mp3/getw.mp3'//小胜利
    , yin_win: zipai.resPath + 'sound_mp3/yin_win.mp3'//大胜利
    , huangz: zipai.resPath + 'sound_mp3/huangz.mp3'

    , vbg_zipai1: zipai.resPath + 'sound_mp3/audio_bgm1.mp3'
    , vbg_zipai2: zipai.resPath + 'sound_mp3/audio_bgm2.mp3'
    , vbg_zipai3: zipai.resPath + 'sound_mp3/audio_bgm3.mp3'

    // , vCountDown: zipai.resPath + 'sound_mp3/audio_countdown.mp3'
    // , vCountDown_1: zipai.resPath + 'sound_mp3/audio_countdown.mp3'
    // , vCountDown_2: zipai.resPath + 'sound_mp3/audio_countdown.mp3'
};

/**
 * 背景资源
 */
for (var i = 0; i < 3; i++) {
    zipai.res['roomBg_' + i] = zipai.resPath + 'room/RoomBg/roomBg_' + (i + 1) + '.jpg';

}
for (var i = 0; i < 1; i++){
    zipai.res['BigPaiBG_' + i] = zipai.resPath + 'room/CardBg/BigPaiBG' + (i + 1) + '.png';
    zipai.res['HandBG_' + i] = zipai.resPath + 'room/CardBg/HandBG' + (i + 1) + '.png';
    zipai.res['huxiBG' + i] = zipai.resPath + 'room/CardBg/huxiBG' + (i + 1) + '.png';
    for (var j = 1; j <= 8; j++) {
        var index = 9 - j;
        zipai.res['fapai_' + i + '_' + index] = zipai.resPath + 'room/RoomBg/fapai_' + (i + 1) + '_' + j + '.png';
    }
}
/**
 * 听牌提示
 */
for (i = 1; i <= 20; i++) {
    zipai.res['huzi_ting_' + i] = zipai.resPath + 'room/TingTishi/huzi_ting_' + i + '.png';
}

/**
 * 音效
 */
var soundExt = '.mp3';
var dialect_res = dialect_res || {};
dialect_res['paohuzi_vbi_1'] = zipai.res.huaihua_vbi_1;
dialect_res['paohuzi_vchi_1'] = zipai.res.huaihua_vchi_1;
dialect_res['paohuzi_vhu_1'] = zipai.res.huaihua_vhu_1;
dialect_res['paohuzi_vpao_1'] = zipai.res.huaihua_vpao_1;
dialect_res['paohuzi_vpeng_1'] = zipai.res.huaihua_vpeng_1;
dialect_res['paohuzi_vti_1'] = zipai.res.huaihua_vti_1;
dialect_res['paohuzi_vwei_1'] = zipai.res.huaihua_vwei_1;

dialect_res['paohuzi_vbi_2'] = zipai.res.huaihua_vbi_2;
dialect_res['paohuzi_vchi_2'] = zipai.res.huaihua_vchi_2;
dialect_res['paohuzi_vhu_2'] = zipai.res.huaihua_vhu_2;
dialect_res['paohuzi_vpao_2'] = zipai.res.huaihua_vpao_2;
dialect_res['paohuzi_vpeng_2'] = zipai.res.huaihua_vpeng_2;
dialect_res['paohuzi_vti_2'] = zipai.res.huaihua_vti_2;
dialect_res['paohuzi_vwei_2'] = zipai.res.huaihua_vwei_2;

/**
 * 音效(祁阳)
 */
dialect_res = dialect_res || {};
dialect_res['qiyang_vbi_1'] = zipai.res.qiyang_vbi_1;
dialect_res['qiyang_vchi_1'] = zipai.res.qiyang_vchi_1;
dialect_res['qiyang_vhu_1'] = zipai.res.qiyang_vhu_1;
dialect_res['qiyang_vpao_1'] = zipai.res.qiyang_vpao_1;
dialect_res['qiyang_vpeng_1'] = zipai.res.qiyang_vpeng_1;
dialect_res['qiyang_vti_1'] = zipai.res.qiyang_vti_1;
dialect_res['qiyang_vwei_1'] = zipai.res.qiyang_vwei_1;

dialect_res['qiyang_vbi_2'] = zipai.res.qiyang_vbi_2;
dialect_res['qiyang_vchi_2'] = zipai.res.qiyang_vchi_2;
dialect_res['qiyang_vhu_2'] = zipai.res.qiyang_vhu_2;
dialect_res['qiyang_vpao_2'] = zipai.res.qiyang_vpao_2;
dialect_res['qiyang_vpeng_2'] = zipai.res.qiyang_vpeng_2;
dialect_res['qiyang_vti_2'] = zipai.res.qiyang_vti_2;
dialect_res['qiyang_vwei_2'] = zipai.res.qiyang_vwei_2;

/**
 * 普通话音效
 */
for (i = 1; i <= 20; i++) {
    zipai.res['paohuzi_v' + i + '_1'] = zipai.soundPutonghua + 'n' + i + soundExt;
    zipai.res['paohuzi_v' + i + '_2'] = zipai.soundPutonghua + 'v' + i + soundExt;
}

/**
 * 祁阳 -> 落地扫
 */
for (i = 1; i <= 21; i++) {
    zipai.res['qiyang_v' + i + '_1'] = zipai.soundQiYang + 'n' + i + soundExt;
    zipai.res['luodisao_v' + i + '_1'] = zipai.soundQiYang + 'n' + i + soundExt;
    dialect_res['luodisao_v' + i + '_1'] = zipai.res['qiyang_v' + i + '_1'];

    zipai.res['qiyang_v' + i + '_2'] = zipai.soundQiYang + 'v' + i + soundExt;
    zipai.res['luodisao_v' + i + '_2'] = zipai.soundQiYang + 'v' + i + soundExt;
    dialect_res['luodisao_v' + i + '_2'] = zipai.res['qiyang_v' + i + '_2'];
}

zipai.wanfaMaps = {
    XIANGXI_ERQISHI: {
        mapid: app.map_id.XIANGXI_ERQISHI
    }
};

zipai.wanfaTitle = {};

zipai.dialect_res = {};


zipai.create_room_tabData = {
    btn_1: {
        click: ['mapid_0'],
        show: ['word_rs', 'word_jushu', 'word_fufei', 'word_genxingwanfa', 'word_xingshuxuanze', 'word_xuanzewangshu',
             'word_jifenshangxian'],
        hide: ['word_zn', 'word_zm', 'word_wf', 'word_cp', 'word_xuanxiang','word_jifenshangxian_1']
    },
    btn_2: {
        click: ['mapid_1'],
        show: ['word_rs', 'word_jushu', 'word_fufei', 'word_genxingwanfa', 'word_xingshuxuanze', 'word_xuanzewangshu',
            'word_xuanxiang', 'word_jifenshangxian_1'],
        hide: ['word_zn', 'word_zm', 'word_wf', 'word_cp', 'word_jifenshangxian']
    },
};

var zipai_create = {};
zipai_create.pos3X = {
    1: 465,
    2: 705,
    3: 945
};
zipai_create.pos4X = {
    1: 465,
    2: 615,
    3: 765,
    4: 915,
    5: 1065
};
zipai_create.posY = {
    1: 574,
    2: 524,
    3: 474,
    4: 424,
    5: 374,
    6: 324,
    7: 274,
    8: 224,
    9: 174,
    10: 124
};
zipai.create_room_wanFaData = [
    ['mapid', [
        ['祁阳落地扫', app.map_id.QYLDS, -1000, -1000, true, true, false],
        ['永州扯胡子', app.map_id.YZCHZ, -1000, -1000, true, true, false],
    ]],

    ['AA', [
        ['房主支付', false, zipai_create.pos3X[1], zipai_create.posY[1], true, true, false, null, ['mapid_0', 'mapid_1']],
        ['AA支付', true, zipai_create.pos3X[2], zipai_create.posY[1], false, true, false, null, ['mapid_0', 'mapid_1']]
    ]],

    ['maxPlayerCnt', [
        ['2人玩', 2, zipai_create.pos3X[1], zipai_create.posY[2], true, true, false, null, ['mapid_0']],
        ['3人玩', 3, zipai_create.pos3X[2], zipai_create.posY[2], false, true, false, null, ['mapid_0']],
        ['4人玩', 4, zipai_create.pos3X[3], zipai_create.posY[2], false, true, false, null, ['mapid_0']]
    ]],

    ['maxPlayerCnt_1', [
        ['2人PK', 2, zipai_create.pos3X[1], zipai_create.posY[2], true, true, false, null, ['mapid_1']],
        ['3人激情', 3, zipai_create.pos3X[2], zipai_create.posY[2], false, true, false, null, ['mapid_1']],
        //['4人坐醒', 4, zipai_create.pos3X[3], zipai_create.posY[2], false, true, false, null, ['mapid_2']]
    ]],

    ['jushu', [
        ['6局', 6, zipai_create.pos3X[1], zipai_create.posY[3], true, true, false, null, ['mapid_0', 'mapid_1']],
        ['8局', 8, zipai_create.pos3X[2], zipai_create.posY[3], false, true, false, null, ['mapid_0', 'mapid_1']],
        ['10局', 10, zipai_create.pos3X[3], zipai_create.posY[3], false, true, false, null, ['mapid_0', 'mapid_1']]
    ]],

    ['xingType', [
        ['跟醒', 1, zipai_create.pos3X[1], zipai_create.posY[4], true, true, false, null, ['mapid_0', 'mapid_1']],
        ['翻醒', 2, zipai_create.pos3X[2], zipai_create.posY[4], false, true, false, null, ['mapid_0', 'mapid_1']],
    ]],

    ['xingBeiShu', [
        ['单醒', 3, zipai_create.pos3X[1], zipai_create.posY[5], true, true, false, null, ['mapid_0']],
        ['双醒', 6, zipai_create.pos3X[2], zipai_create.posY[5], false, true, false, null, ['mapid_0']],
    ]],

    ['xingBeiShu_1', [
        ['单醒', 1, zipai_create.pos3X[1], zipai_create.posY[5], true, true, false, null, ['mapid_1']],
        ['双醒', 2, zipai_create.pos3X[2], zipai_create.posY[5], false, true, false, null, ['mapid_1']],
    ]],

    ['laiZiCnt', [
        ['无王', 0, zipai_create.pos4X[1], zipai_create.posY[6], true, true, false, null, ['mapid_0', 'mapid_1']],
        ['单王', 1, zipai_create.pos4X[2], zipai_create.posY[6], false, true, false, null, ['mapid_0', 'mapid_1']],
        ['双王', 2, zipai_create.pos4X[3], zipai_create.posY[6], false, true, false, null, ['mapid_0', 'mapid_1']],
        ['三王', 3, zipai_create.pos4X[4], zipai_create.posY[6], false, true, false, null, ['mapid_0', 'mapid_1']],
        ['四王', 4, zipai_create.pos4X[5], zipai_create.posY[6], false, true, false, null, ['mapid_1']],
    ]],
    /*
    ['withPiao', [
        ['飘分', true, zipai_create.pos3X[1], zipai_create.posY[7], false, false, false, null, ['mapid_0', 'mapid_1']]
    ]],
     */
    ['withHongZhuan', [
        ['红转朱黑', true, zipai_create.pos3X[1], zipai_create.posY[7], false, false, false, null, ['mapid_1']]
    ]],
    /*
    ['withHongZhuanZhu', [
        ['红转朱', true, zipai_create.pos3X[1], zipai_create.posY[8], false, false, false, null, ['mapid_1']]
    ]],

    ['withHongZhuanHei', [
        ['红转黑', true, zipai_create.pos3X[2], zipai_create.posY[8], false, false, false, null, ['mapid_1']]
    ]],
     */

    ['fengDing', [
        ['300积分', 300, zipai_create.pos3X[1], zipai_create.posY[7], true, true, false, null, ['mapid_0']],
        ['600积分', 600, zipai_create.pos3X[2], zipai_create.posY[7], false, true, false, null, ['mapid_0']],
        ['无限制', 0, zipai_create.pos3X[3], zipai_create.posY[7], false, true, false, null, ['mapid_0']],
    ]],

    ['fengDing_1', [
        ['300积分', 300, zipai_create.pos3X[1], zipai_create.posY[8], true, true, false, null, ['mapid_1']],
        ['600积分', 600, zipai_create.pos3X[2], zipai_create.posY[8], false, true, false, null, ['mapid_1']],
        ['无限制', 0, zipai_create.pos3X[3], zipai_create.posY[8], false, true, false, null, ['mapid_1']],
    ]],
];
/**
 * 混桌适配文件
 * @type {Object}
 */
zipai.club_hunzhuo = {
    // 'btn_1' :{
    //     'hide':['liangrenwan','sanrenwan','siren'],
    //     'view':['wanjiarenshu0','wanjiarenshu1','wanjiarenshu2'],
    // },

};

zipai.fangka = {
    btn_1: [[8, 16], [4, 8]],
    btn_2: [[8, 16], [4, 8]],
    btn_3: [[8, 16], [4, 8]],
};

//字牌最大参与人数
zipai.curMaxPlayerNum = 3;
//字牌最大摆牌长度
zipai.curBaipaiLength = 10;
//mapid对应的最大人数
zipai.mapid2maxPlayerNum = {
    301 : 4,
    302 : 4,
};
//mapid对应的最大摆牌长度 n
zipai.mapid2baiPaiLength = {
    301: 7,
    302: 10,
};

